<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	
<script>

	function modifyPassword() {
		$('#dialog_main').modal({
			keyboard: false,
			remote: '${ctx}/frame/modifyPassword.action'
		});
	}

   function quit() {
     //alert("hello quit.");
     window.location.href = "${ctx}/frame/logout.action";
   }	  
</script>	

<div class="col-md-12 column" style="border-bottom: 2px solid #ccc;">
	<div class="col-md-6 column">
		<h1 class="text-left" style="margin-left: -20px;">
			<strong>mutouren</strong> <small>demo</small>
		</h1>
	</div>
	<div class="col-md-6 column"
		style="background-color: white; text-align: right;">
			
		<ul class="nav nav-pills navbar-right"
			style="margin-top: 30px; margin-right: -20px; margin-bottom: 2px; text-align: right;">
		    <li class="dropdown">
		      <a href="#" class="dropdown-toggle" data-toggle="dropdown">设置</a>
		      <ul class="dropdown-menu">
		        <li>
		          <a href="javascript:modifyPassword()">修改密码</a></li>          
		      </ul>
		    </li>
			<li><a href="javascript:quit()">退出</a></li>
		</ul>
		<p class="navbar-text navbar-right"	
			style="margin-top: 40px; margin-bottom: -2px; ">hi, ${userName} &nbsp;&nbsp;</p>
	</div>
</div>

